package com.dev.security.setting.beans;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户设置
 * @author 潜行的青衣
 * @see
 */
@Entity
@Table(name = "t_cds_usersetting")
public class UserSetting {

	@EmbeddedId
	private UserSettingId id;
	
	@Column(name="value", length=255)
	private String value;

	public UserSetting() {}
	
	public UserSetting(UserSettingId id, String value) {
		this.id = id;
		this.value = value;
	}
	
	public UserSettingId getId() {
		return id;
	}

	public void setId(UserSettingId id) {
		this.id = id;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
